package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目类型对象 apptype
 *
 * @author yaozh
 * @date 2024-01-09
 */
public class Apptype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自动增长 */
    private Long id;

    /** 项目类型名称 */
    @Excel(name = "项目类型名称")
    private String apptypename;

    /** 说明 */
    @Excel(name = "说明")
    private String explain;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setApptypename(String apptypename)
    {
        this.apptypename = apptypename;
    }

    public String getApptypename()
    {
        return apptypename;
    }
    public void setExplain(String explain)
    {
        this.explain = explain;
    }

    public String getExplain()
    {
        return explain;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("apptypename", getApptypename())
                .append("explain", getExplain())
                .toString();
    }
}
